﻿using System;

namespace Framework.Core.Condition
{
    /// <summary>
    /// 表达式借口
    /// </summary>
    /// <example>
    /// 
    /// </example>
    public interface IExpression
    {
        IExpression LeftExpression
        {
            get;
            set;
        }

        IExpression RightExpression
        {
            get;
            set;
        }

        IExpressionItem LeftExpressionItem
        {
            get;
            set;
        }

        IExpressionItem RightExpressionItem
        {
            get;
            set;
        }

        IOperation LogicOperator
        {
            get;
            set;
        }

        bool GetResult();
    }
}
